/ BBS in a Box 12
/ BBS in a box XII-1.iso / Files / Tele / Internet / Anarchie 1.20.sit / Anarchie-120 / Example Scripts / Download Files ![]() | next > |
MacBinary | 1994-05-10 | 2.6 KB | [TEXT/ToyS] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Tue May 10 16:40:00 1994, modified Tue May 10 16:40:00 1994, creator 'ToyS', type ASCII, 1576 bytes "Download Files" , at 0x6a8 853 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [ToyS] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 44 6f 77 6e 6c 6f | 61 64 20 46 69 6c 65 73 |..Downlo|ad Files|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 54 6f 79 | 53 01 00 00 00 00 00 00 |.TEXTToy|S.......|
|00000050| 00 00 00 00 00 06 28 00 | 00 03 55 a9 f5 a1 a0 a9 |......(.|..U.....|
|00000060| f5 a1 a0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 80 3e 00 00 |........|.....>..|
|00000080| 2d 2d 20 43 68 61 6e 67 | 65 20 74 68 65 73 65 20 |-- Chang|e these |
|00000090| 74 6f 20 73 70 65 63 69 | 66 79 20 79 6f 75 72 20 |to speci|fy your |
|000000a0| 70 72 65 66 65 72 65 64 | 20 55 6d 69 63 68 20 26 |prefered| Umich &|
|000000b0| 20 49 6e 66 6f 2d 4d 61 | 63 20 46 54 50 20 73 69 | Info-Ma|c FTP si|
|000000c0| 74 65 73 2e 0d 2d 2d 20 | 44 6f 6e 27 74 20 75 73 |tes..-- |Don't us|
|000000d0| 65 20 74 68 65 20 68 6f | 6d 65 20 73 69 74 65 73 |e the ho|me sites|
|000000e0| 2c 20 61 73 20 74 68 65 | 79 20 61 72 65 20 61 6c |, as the|y are al|
|000000f0| 72 65 61 64 79 20 6f 76 | 65 72 6c 6f 61 64 65 64 |ready ov|erloaded|
|00000100| 2e 0d 73 65 74 20 75 6d | 69 63 68 61 64 64 72 20 |..set um|ichaddr |
|00000110| 74 6f 20 22 61 72 63 68 | 69 65 2e 61 75 3a 2f 6d |to "arch|ie.au:/m|
|00000120| 69 63 72 6f 73 2f 6d 61 | 63 2f 75 6d 69 63 68 2f |icros/ma|c/umich/|
|00000130| 22 0d 73 65 74 20 69 6e | 66 6f 6d 61 63 61 64 64 |".set in|fomacadd|
|00000140| 72 20 74 6f 20 22 61 72 | 63 68 69 65 2e 61 75 3a |r to "ar|chie.au:|
|00000150| 2f 6d 69 63 72 6f 73 2f | 6d 61 63 2f 69 6e 66 6f |/micros/|mac/info|
|00000160| 2d 6d 61 63 2f 22 0d 2d | 2d 20 53 65 74 20 74 68 |-mac/".-|- Set th|
|00000170| 69 73 20 74 6f 20 74 68 | 65 20 70 61 74 68 20 74 |is to th|e path t|
|00000180| 6f 20 79 6f 75 72 20 64 | 6f 77 6e 6c 6f 61 64 20 |o your d|ownload |
|00000190| 66 69 6c 65 20 74 68 61 | 74 20 6c 69 73 74 73 20 |file tha|t lists |
|000001a0| 74 68 65 20 66 69 6c 65 | 73 20 74 6f 20 66 65 74 |the file|s to fet|
|000001b0| 63 68 0d 73 65 74 20 74 | 68 65 69 6e 70 75 74 20 |ch.set t|heinput |
|000001c0| 74 6f 20 22 72 6f 63 6b | 79 3a 64 65 73 6b 74 6f |to "rock|y:deskto|
|000001d0| 70 20 66 6f 6c 64 65 72 | 3a 64 6f 77 6e 6c 6f 61 |p folder|:downloa|
|000001e0| 64 22 0d 0d 73 65 74 20 | 71 75 69 74 61 6e 61 72 |d"..set |quitanar|
|000001f0| 63 68 69 65 20 74 6f 20 | 66 61 6c 73 65 0d 0d 73 |chie to |false..s|
|00000200| 65 74 20 74 68 65 64 61 | 74 61 20 74 6f 20 72 65 |et theda|ta to re|
|00000210| 61 64 74 65 78 74 20 66 | 69 6c 65 20 74 68 65 69 |adtext f|ile thei|
|00000220| 6e 70 75 74 0d 0d 63 6f | 70 79 20 74 68 65 64 61 |nput..co|py theda|
|00000230| 74 61 20 26 20 72 65 74 | 75 72 6e 20 74 6f 20 74 |ta & ret|urn to t|
|00000240| 68 65 64 61 74 61 0d 73 | 65 74 20 6e 65 77 64 61 |hedata.s|et newda|
|00000250| 74 61 20 74 6f 20 22 22 | 0d 73 65 74 20 69 20 74 |ta to ""|.set i t|
|00000260| 6f 20 31 0d 72 65 70 65 | 61 74 20 77 68 69 6c 65 |o 1.repe|at while|
|00000270| 20 69 20 b2 20 28 74 68 | 65 20 6e 75 6d 62 65 72 | i . (th|e number|
|00000280| 20 6f 66 20 70 61 72 61 | 67 72 61 70 68 73 20 6f | of para|graphs o|
|00000290| 66 20 74 68 65 64 61 74 | 61 29 0d 09 73 65 74 20 |f thedat|a)..set |
|000002a0| 74 68 65 75 72 6c 20 74 | 6f 20 70 61 72 61 67 72 |theurl t|o paragr|
|000002b0| 61 70 68 20 69 20 6f 66 | 20 74 68 65 64 61 74 61 |aph i of| thedata|
|000002c0| 0d 09 69 66 20 6c 65 6e | 67 74 68 20 6f 66 20 74 |..if len|gth of t|
|000002d0| 68 65 75 72 6c 20 3e 20 | 30 20 74 68 65 6e 0d 09 |heurl > |0 then..|
|000002e0| 09 73 65 74 20 6b 65 65 | 70 69 74 20 74 6f 20 74 |.set kee|pit to t|
|000002f0| 72 75 65 0d 09 09 69 66 | 20 28 74 68 65 75 72 6c |rue...if| (theurl|
|00000300| 20 63 6f 6e 74 61 69 6e | 73 20 22 20 2f 69 6e 66 | contain|s " /inf|
|00000310| 6f 2d 6d 61 63 22 29 20 | 61 6e 64 20 28 74 68 65 |o-mac") |and (the|
|00000320| 75 72 6c 20 63 6f 6e 74 | 61 69 6e 73 20 22 3b 22 |url cont|ains ";"|
|00000330| 29 20 74 68 65 6e 0d 09 | 09 09 63 6f 70 79 20 28 |) then..|..copy (|
|00000340| 28 63 68 61 72 61 63 74 | 65 72 73 20 28 6f 66 66 |(charact|ers (off|
|00000350| 73 65 74 20 6f 66 20 22 | 2f 69 6e 66 6f 2d 6d 61 |set of "|/info-ma|
|00000360| 63 22 20 69 6e 20 74 68 | 65 75 72 6c 29 20 74 68 |c" in th|eurl) th|
|00000370| 72 75 20 c2 0d 09 09 09 | 09 28 28 6f 66 66 73 65 |ru .....|.((offse|
|00000380| 74 20 6f 66 20 22 3b 22 | 20 69 6e 20 74 68 65 75 |t of ";"| in theu|
|00000390| 72 6c 29 20 2d 20 31 29 | 20 6f 66 20 74 68 65 75 |rl) - 1)| of theu|
|000003a0| 72 6c 29 20 61 73 20 73 | 74 72 69 6e 67 29 20 74 |rl) as s|tring) t|
|000003b0| 6f 20 74 68 65 75 72 6c | 0d 09 09 65 6e 64 20 69 |o theurl|...end i|
|000003c0| 66 0d 09 09 69 66 20 28 | 74 68 65 75 72 6c 20 64 |f...if (|theurl d|
|000003d0| 6f 65 73 20 6e 6f 74 20 | 63 6f 6e 74 61 69 6e 20 |oes not |contain |
|000003e0| 22 3a 22 29 20 61 6e 64 | 20 28 74 68 65 75 72 6c |":") and| (theurl|
|000003f0| 20 73 74 61 72 74 73 20 | 77 69 74 68 20 22 2f 6d | starts |with "/m|
|00000400| 61 63 2f 22 29 20 74 68 | 65 6e 0d 09 09 09 63 6f |ac/") th|en....co|
|00000410| 70 79 20 75 6d 69 63 68 | 61 64 64 72 20 26 20 74 |py umich|addr & t|
|00000420| 65 78 74 20 66 72 6f 6d | 20 63 68 61 72 61 63 74 |ext from| charact|
|00000430| 65 72 20 36 20 6f 66 20 | 74 68 65 75 72 6c 20 74 |er 6 of |theurl t|
|00000440| 6f 20 65 6e 64 20 6f 66 | 20 74 68 65 75 72 6c 20 |o end of| theurl |
|00000450| 74 6f 20 74 68 65 75 72 | 6c 0d 09 09 65 6e 64 20 |to theur|l...end |
|00000460| 69 66 0d 09 09 69 66 20 | 28 74 68 65 75 72 6c 20 |if...if |(theurl |
|00000470| 64 6f 65 73 20 6e 6f 74 | 20 63 6f 6e 74 61 69 6e |does not| contain|
|00000480| 20 22 3a 22 29 20 61 6e | 64 20 28 74 68 65 75 72 | ":") an|d (theur|
|00000490| 6c 20 73 74 61 72 74 73 | 20 77 69 74 68 20 22 2f |l starts| with "/|
|000004a0| 69 6e 66 6f 2d 6d 61 63 | 2f 22 29 20 74 68 65 6e |info-mac|/") then|
|000004b0| 0d 09 09 09 63 6f 70 79 | 20 69 6e 66 6f 6d 61 63 |....copy| infomac|
|000004c0| 61 64 64 72 20 26 20 74 | 65 78 74 20 66 72 6f 6d |addr & t|ext from|
|000004d0| 20 63 68 61 72 61 63 74 | 65 72 20 31 31 20 6f 66 | charact|er 11 of|
|000004e0| 20 74 68 65 75 72 6c 20 | 74 6f 20 65 6e 64 20 6f | theurl |to end o|
|000004f0| 66 20 74 68 65 75 72 6c | 20 74 6f 20 74 68 65 75 |f theurl| to theu|
|00000500| 72 6c 0d 09 09 65 6e 64 | 20 69 66 0d 09 09 69 66 |rl...end| if...if|
|00000510| 20 74 68 65 75 72 6c 20 | 63 6f 6e 74 61 69 6e 73 | theurl |contains|
|00000520| 20 22 3a 22 20 74 68 65 | 6e 0d 09 09 09 74 65 6c | ":" the|n....tel|
|00000530| 6c 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 22 41 |l applic|ation "A|
|00000540| 6e 61 72 63 68 69 65 22 | 0d 09 09 09 09 73 65 74 |narchie"|.....set|
|00000550| 20 71 75 69 74 61 6e 61 | 72 63 68 69 65 20 74 6f | quitana|rchie to|
|00000560| 20 74 72 75 65 0d 09 09 | 09 09 77 69 74 68 20 74 | true...|..with t|
|00000570| 69 6d 65 6f 75 74 20 6f | 66 20 33 36 30 30 20 73 |imeout o|f 3600 s|
|00000580| 65 63 6f 6e 64 73 0d 09 | 09 09 09 09 73 65 74 20 |econds..|....set |
|00000590| 65 72 72 20 74 6f 20 66 | 65 74 63 68 20 75 72 6c |err to f|etch url|
|000005a0| 20 74 68 65 75 72 6c 20 | 65 78 70 61 6e 64 20 77 | theurl |expand w|
|000005b0| 69 74 68 20 22 62 6c 61 | 68 22 0d 09 09 09 09 09 |ith "bla|h"......|
|000005c0| 73 65 74 20 6b 65 65 70 | 69 74 20 74 6f 20 28 65 |set keep|it to (e|
|000005d0| 72 72 20 69 73 20 6e 6f | 74 20 30 29 0d 09 09 09 |rr is no|t 0)....|
|000005e0| 09 65 6e 64 20 74 69 6d | 65 6f 75 74 0d 09 09 09 |.end tim|eout....|
|000005f0| 65 6e 64 20 74 65 6c 6c | 0d 09 09 65 6e 64 20 69 |end tell|...end i|
|00000600| 66 0d 09 09 69 66 20 6b | 65 65 70 69 74 20 74 68 |f...if k|eepit th|
|00000610| 65 6e 0d 09 09 09 63 6f | 70 79 20 28 6e 65 77 64 |en....co|py (newd|
|00000620| 61 74 61 20 26 20 28 70 | 61 72 61 67 72 61 70 68 |ata & (p|aragraph|
|00000630| 20 69 20 6f 66 20 74 68 | 65 64 61 74 61 29 20 26 | i of th|edata) &|
|00000640| 20 72 65 74 75 72 6e 29 | 20 74 6f 20 6e 65 77 64 | return)| to newd|
|00000650| 61 74 61 0d 09 09 65 6e | 64 20 69 66 0d 09 65 6e |ata...en|d if..en|
|00000660| 64 20 69 66 0d 09 73 65 | 74 20 69 20 74 6f 20 69 |d if..se|t i to i|
|00000670| 20 2b 20 31 0d 65 6e 64 | 20 72 65 70 65 61 74 0d | + 1.end| repeat.|
|00000680| 0d 77 72 69 74 65 74 65 | 78 74 20 66 69 6c 65 20 |.writete|xt file |
|00000690| 74 68 65 69 6e 70 75 74 | 20 64 61 74 61 20 6e 65 |theinput| data ne|
|000006a0| 77 64 61 74 61 0d 0d 0d | 00 00 00 00 00 00 00 00 |wdata...|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 02 d3 | 00 00 01 d3 00 00 00 82 |........|........|
|00000710| 00 00 04 ad 09 4c 69 62 | 72 61 72 69 65 73 02 00 |.....Lib|raries..|
|00000720| 00 00 66 64 72 70 4d 41 | 43 53 81 00 02 a6 01 a1 |..fdrpMA|CS......|
|00000730| 18 53 63 72 69 70 74 20 | 45 64 69 74 6f 72 20 54 |.Script |Editor T|
|00000740| 65 6d 70 20 30 30 30 30 | 31 20 02 00 00 00 54 45 |emp 0000|1 ....TE|
|00000750| 00 00 54 45 58 54 54 6f | 79 53 00 00 00 00 00 00 |..TEXTTo|yS......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 a9 f5 5b 4f 00 00 | 06 28 00 00 03 55 00 00 |....[O..|.(...U..|
|00000780| 00 00 00 00 0f 00 00 00 | 04 ad 09 4c 6f 63 61 74 |........|...Locat|
|00000790| 69 6f 6e 73 02 00 00 00 | 54 45 58 54 74 74 78 74 |ions....|TEXTttxt|
|000007a0| 01 00 00 d8 02 48 00 00 | 00 00 18 d5 00 00 00 00 |.....H..|........|
|000007b0| 0a 4b 00 00 12 00 00 00 | 00 00 01 50 00 00 12 00 |.K......|...P....|
|000007c0| a9 e3 e8 ea a9 f5 25 a8 | 00 00 00 00 00 00 00 00 |......%.|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 18 98 00 00 ad b1 |........|........|
|000007e0| 00 01 00 00 00 00 00 00 | 00 00 b1 d3 00 01 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 1a 00 00 00 04 ad |........|........|
|00000800| 00 00 00 78 00 00 00 00 | 00 08 00 00 00 00 00 00 |...x....|........|
|00000810| 00 00 00 00 00 00 00 00 | ff ff ff ff 00 00 00 34 |........|.......4|
|00000820| 00 00 00 24 00 00 00 00 | 20 6f 00 04 a0 5f 20 6f |...$....| o..._ o|
|00000830| 00 04 a1 28 a0 23 4e 75 | 43 54 6f 20 72 75 6e 20 |...(.#Nu|CTo run |
|00000840| 74 68 69 73 20 73 63 72 | 69 70 74 20 61 70 70 6c |this scr|ipt appl|
|00000850| 69 63 61 74 69 6f 6e 2c | 20 79 6f 75 20 6d 75 73 |ication,| you mus|
|00000860| 74 20 66 69 72 73 74 20 | 69 6e 73 74 61 6c 6c 20 |t first |install |
|00000870| 41 70 70 6c 65 53 63 72 | 69 70 74 2e 00 00 00 1a |AppleScr|ipt.....|
|00000880| 40 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |@.......|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 03 53 63 |........|......Sc|
|000008a0| 72 69 70 74 20 74 6f 20 | 64 6f 77 6e 6c 6f 61 64 |ript to |download|
|000008b0| 20 66 69 6c 65 73 2e 20 | 20 54 68 65 20 66 69 6c | files. | The fil|
|000008c0| 65 20 6d 75 73 74 20 63 | 6f 6e 74 61 69 6e 20 65 |e must c|ontain e|
|000008d0| 69 74 68 65 72 20 55 52 | 4c 73 20 6f 72 20 55 6d |ither UR|Ls or Um|
|000008e0| 69 63 68 20 64 69 72 65 | 63 74 6f 72 79 20 70 61 |ich dire|ctory pa|
|000008f0| 74 68 73 20 28 61 73 20 | 66 6f 75 6e 64 20 69 6e |ths (as |found in|
|00000900| 20 74 68 65 20 55 6d 69 | 63 68 20 4e 65 77 20 46 | the Umi|ch New F|
|00000910| 69 6c 65 73 20 6d 61 69 | 6c 6f 75 74 29 20 6f 72 |iles mai|lout) or|
|00000920| 20 49 6e 66 6f 2d 4d 61 | 63 20 64 69 72 65 63 74 | Info-Ma|c direct|
|00000930| 6f 72 79 20 70 61 74 68 | 73 20 6f 72 20 22 5b 41 |ory path|s or "[A|
|00000940| 72 63 68 69 76 65 64 20 | 61 73 20 2f 69 6e 66 6f |rchived |as /info|
|00000950| 2d 6d 61 63 2e 2e 2e 3b | 20 32 32 34 6b 5d 22 20 |-mac...;| 224k]" |
|00000960| 6c 69 6e 65 73 2e 0d 54 | 68 65 20 73 63 72 69 70 |lines..T|he scrip|
|00000970| 74 20 69 73 20 64 65 73 | 69 67 6e 65 64 20 74 6f |t is des|igned to|
|00000980| 20 62 65 20 72 75 6e 20 | 62 79 20 43 72 6f 6e 20 | be run |by Cron |
|00000990| 62 79 20 43 68 72 69 73 | 20 4a 6f 68 6e 73 6f 6e |by Chris| Johnson|
|000009a0| 2e 00 00 00 16 00 01 00 | 00 00 00 00 0c 00 09 00 |........|........|
|000009b0| 10 00 00 00 0a 00 00 00 | 00 00 00 00 00 00 14 00 |........|........|
|000009c0| 37 00 0c 02 6d 02 04 00 | 37 00 02 03 2b 02 5d 00 |7...m...|7...+.].|
|000009d0| 00 00 00 00 00 01 00 00 | 00 02 d3 00 00 01 d3 00 |........|........|
|000009e0| 00 00 82 01 26 d1 a8 0f | 6e 00 00 00 1c 00 82 00 |....&...|n.......|
|000009f0| 04 4e 4f 54 49 00 00 00 | 2a 73 63 73 7a 00 00 00 |.NOTI...|*scsz...|
|00000a00| 36 54 45 58 54 00 00 00 | 42 73 74 79 6c 00 00 00 |6TEXT...|Bstyl...|
|00000a10| 4e 57 50 6f 73 00 00 00 | 5a 00 80 ff ff 50 00 00 |NWPos...|Z....P..|
|00000a20| 00 01 26 d1 88 00 00 ff | ff 00 00 00 7c 01 26 ce |..&.....|....|.&.|
|00000a30| e0 04 68 ff ff 00 00 00 | 9a 01 26 ce d4 04 68 ff |..h.....|..&...h.|
|00000a40| ff 00 00 01 a1 01 26 cf | 10 00 80 ff ff 00 00 01 |......&.|........|
|00000a50| bb 01 26 ce e8 00 00 00 | 00 00 00 00 00 00 00 00 |..&.....|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+